package com.lyncs.ods.modules.goods.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * sku详细信息表
 * </p>
 *
 * @author alex
 * @since 2022-04-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sku_attr_log")
@ApiModel(value = "SkuAttrLog对象", description = "sku详细信息表")
public class SkuAttrLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty("企业id")
    @TableField("company_id")
    private Long companyId;

    @ApiModelProperty("spu id")
    @TableField("spu_id")
    private Long spuId;

    @ApiModelProperty("sku id")
    @TableField("sku_id")
    private Long skuId;

    @ApiModelProperty("sku属性名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("sku属性值")
    @TableField("value")
    private String value;


}
